package com.kch.system.service;

import com.kch.system.domain.Enterprise;
import com.kch.system.vo.EnterpriseVO;

import java.util.List;

public interface EnterpriseService {

    int insertEnterprise(Enterprise enterprise);

    EnterpriseVO selectByUserId(Integer userId);

    EnterpriseVO selectVOById(Integer id);

    Enterprise selectById(Integer id);

    int updateById(Enterprise enterprise);

    List<Enterprise> selectEnterprisePage(Enterprise enterprise);

    boolean enterPriseIsPass(Integer userId);

    Enterprise selectByUser(Integer userId);

    Enterprise selectPassByUserId(Integer userId);
}
